package net.oschina.app.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

import net.oschina.app.MApp;
import net.oschina.app.R;

/**
 * Created by Ethan on 2017/3/31.
 */

public class SplashActivity extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
        MApp.mHandler.postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent view = new Intent(SplashActivity.this,MainActivity.class);
                startActivity(view);
                finish();
            }
        },3000);
    }
}
